package com.carrent.demo.Mapper;

import com.carrent.demo.Domain.UserContract;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserContractMapper {


    List<UserContract> getPage(@Param("start") Integer start, @Param("pageSize") Integer pageSize, @Param("name") String name);
    Boolean editUserContract(@Param("userContract") UserContract UserContract);
    Boolean editReturn(@Param("id") Integer id,@Param("status") Integer status);

    Integer selectCarIdByContractId(@Param("id") Integer id);

}
